home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
tutor
/
pclap56.exe
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-07-02
|
12KB
|
319 lines
ECHO OFF
CLS
ECHO Professor P.C. Laptop! Installation Program
ECHO ---------------------------------------------------------------
ECHO This package is shareware. Please consider paying the appropriate
ECHO registration fee to the program's author for continued program use
ECHO and the BONUS DISKS which will be sent to you by mail.
ECHO SHAREWARE MEANS TRY BEFORE YOU BUY. SHAREWARE IS AN HONOR SYSTEM.
ECHO If you DO NOT have a registration number and bonus disks from
ECHO the program's author, you are only EVALUATING this package for a
ECHO trial period and are expected to register if the program is useful.
echo You can print a registration/order form later via this installation
echo program or you can print a registration/order form within Professor
echo P.C. Laptop!. If you have recently registered - Thank You!
ECHO ----------------------------------------------------------------
ECHO This package must first be installed prior to running the program.
echo Installation SOURCE disk MUST now be in the A: floppy drive.
echo If you install to standard floppies you will need TWO FORMATTED
echo FLOPPIES PRIOR TO PROCEEDING. Hard drive installation is
echo preferred method. Installation to floppy drives is acceptable.
echo ---------------------------------------------------------------
ECHO Press A if installing to HARD DRIVE (preferred option)
echo Press B if installing to TWO standard floppies
ECHO Press Q to quit/abort process
lapkey ,Q81,q81,B66,b66,A65,a65/E
IF ERRORLEVEL 81 GOTO abort
IF ERRORLEVEL 66 GOTO LABELB
IF ERRORLEVEL 65 GOTO LABELC
:labelb
CLS
echo ------------------------------------------------------------
ECHO Installation will produce TWO floppy diskettes on TARGET
echo drive B: or TARGET drive D: Next step assumes SOURCE drive A:
echo contains files to be unpacked and TARGET contains a blank
echo formatted diskette. Have a second formatted diskette ready.
echo ------------------------------------------------------------
echo press B for Target Floppy drive B:
echo press D for Target Floppy drive D:
echo press Q to quit/abort
echo ------------------------------------------------------------
lapkey ,Q81,q81,D68,d68,B66,b66/E
IF ERRORLEVEL 81 GOTO abort
IF ERRORLEVEL 68 GOTO fd
IF ERRORLEVEL 66 GOTO fb
:fb
cls
part1 b:\
part3 b:\
part5 b:\
b:
ren book1.cfg book.cfg
del book2.cfg
a:
CLS
echo --------------------------------------------------------------
ECHO Remove diskette from B: drive, label it:
echo "Professor P.C. Laptop! Part 1, start with: GO at DOS prompt"
echo When you have finished labelling the first diskette,
ECHO insert second formatted blank floppy diskette into
echo drive B: and press a key to proceed installing part two.
echo --------------------------------------------------------------
pause
cls
part2 b:\
part3 b:\
part5 b:\
b:
ren book2.cfg book.cfg
del book1.cfg
a:
CLS
echo ---------------------------------------------------------------
ECHO Remove diskette from B: drive, label it:
echo "Professor P.C. Laptop! Part 2, start with: GO at DOS prompt"
echo When you have finished labelling the second diskette,
echo press a key to end installation process and return to DOS.
echo --------------------------------------------------------------
pause
goto quit
:fd
cls
part1 d:\
part3 d:\
part5 d:\
d:
ren book1.cfg book.cfg
del book2.cfg
a:
CLS
echo --------------------------------------------------------------
ECHO Remove diskette from D: drive, label it:
echo "Professor P.C. Laptop! Part 1, start with: GO at DOS prompt"
echo When you have finished labelling the first diskette,
ECHO insert second formatted blank floppy diskette into
echo drive D: and press a key to proceed installing part two.
echo --------------------------------------------------------------
pause
cls
part2 d:\
part3 d:\
part5 d:\
d:
ren book2.cfg book.cfg
del book1.cfg
a:
CLS
echo ---------------------------------------------------------------
ECHO Remove diskette from D: drive, label it:
echo "Professor P.C. Laptop! Part 2, start with: GO at DOS prompt"
echo When you have finished labelling the second diskette,
echo press a key to end installation process and return to DOS.
echo --------------------------------------------------------------
pause
goto quit
:LABELC
CLS
ECHO ---------------------------------------------------------------
ECHO Hard drive installation will prepare a directory named \LAPTUT on
echo your hard drive and install files to that area. Installation
echo program assumes drive A: contains Prof. P.C. Laptop! and is the SOURCE
echo DRIVE. Hard drive will be the TARGET drive to which files will
echo be unpacked. If you have an old copy of Prof. P.C. Laptop! on your
echo hard drive, you may either quit/abort and backup that old copy
echo for archival purposes or alternatively you can safely install
echo this version of the program OVER the older version without erasing
echo the previous copy.
ECHO ---------------------------------------------------------------
echo What hard drive letter will you install TO as your target?
ECHO ---------------------------------------------------------------
echo press C for Hard drive C:
echo press D for Hard drive D:
echo press E for Hard drive E:
echo press F for Hard drive F:
echo press G for Hard drive G:
echo press Q to quit/abort
lapkey ,Q81,q81,G71,g71,F70,f70,E69,e69,D68,d68,C67,c67/E
IF ERRORLEVEL 81 GOTO abort
IF ERRORLEVEL 71 goto hdg
IF ERRORLEVEL 70 GOTO hdf
IF ERRORLEVEL 69 GOTO hde
IF ERRORLEVEL 68 GOTO hdd
IF ERRORLEVEL 67 GOTO hdc
:hdc
cls
C:
CD\
MD LAPTUT
ECHO If a previous version of Prof. P.C. Laptop! is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer data files.
A:
part1 c:\laptut\
part2 c:\laptut\
part3 c:\laptut\
part4 c:\laptut\
CLS
ECHO Installation is now complete.
echo ------------------------------------------------------------
echo Press Q to quit. To run Prof. P.C. Laptop! change to your hard
echo drive subdirectory C:\LAPTUT then GO to start!
echo To do this, issue the following commands when you see
echo the DOS prompt:
echo C: Then press return/enter key
echo CD\LAPTUT Then press return/enter key
echo GO Then press return/enter key
echo Jot down these instructions for future use!
echo ----------------------------------------------------------
lapkey ,Q81,q81/E
IF ERRORLEVEL 81 GOTO quit
GOTO QUIT
:hdd
cls
D:
CD\
MD LAPTUT
ECHO If a previous version of Prof. P.C. Laptop! is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer data files.
A:
part1 d:\laptut\
part2 d:\laptut\
part3 d:\laptut\
part4 d:\laptut\
CLS
ECHO Installation is now complete.
echo ------------------------------------------------------------
echo Press Q to quit. To run Prof. P.C. Laptop! change to your hard
echo drive subdirectory D:\LAPTUT then GO to start!
echo To do this, issue the following commands when you see
echo the DOS prompt:
echo D: Then press return/enter key
echo CD\LAPTUT Then press return/enter key
echo GO Then press return/enter key
echo Jot down these instructions for future use!
echo ----------------------------------------------------------
lapkey ,Q81,q81/E
IF ERRORLEVEL 81 GOTO quit
GOTO QUIT
:hde
cls
E:
CD\
MD LAPTUT
ECHO If a previous version of Prof. P.C. Laptop! is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer data files.
A:
part1 E:\laptut\
part2 E:\laptut\
part3 E:\laptut\
part4 E:\laptut\
CLS
ECHO Installation is now complete.
echo ------------------------------------------------------------
echo Press Q to quit. To run Prof. P.C. Laptop! change to your hard
echo drive subdirectory E:\LAPTUT then GO to start!
echo To do this, issue the following commands when you see
echo the DOS prompt:
echo E: Then press return/enter key
echo CD\LAPTUT Then press return/enter key
echo GO Then press return/enter key
echo Jot down these instructions for future use!
echo ----------------------------------------------------------
lapkey ,Q81,q81/E
IF ERRORLEVEL 81 GOTO quit
GOTO QUIT
:hdf
cls
F:
CD\
MD LAPTUT
ECHO If a previous version of Prof. P.C. Laptop! is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer data files.
A:
part1 F:\laptut\
part2 F:\laptut\
part3 F:\laptut\
part4 F:\laptut\
CLS
ECHO Installation is now complete.
echo ------------------------------------------------------------
echo Press Q to quit. To run Prof. P.C. Laptop! change to your hard
echo drive subdirectory F:\LAPTUT then GO to start!
echo To do this, issue the following commands when you see
echo the DOS prompt:
echo F: Then press return/enter key
echo CD\LAPTUT Then press return/enter key
echo GO Then press return/enter key
echo Jot down these instructions for future use!
echo ----------------------------------------------------------
lapkey ,Q81,q81/E
IF ERRORLEVEL 81 GOTO quit
GOTO QUIT
:hdg
cls
G:
CD\
MD LAPTUT
ECHO If a previous version of Prof. P.C. Laptop! is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer data files.
A:
part1 G:\laptut\
part2 G:\laptut\
part3 G:\laptut\
part4 G:\laptut\
CLS
ECHO Installation is now complete.
echo ------------------------------------------------------------
echo Press Q to quit. To run Prof. P.C. Laptop! change to your hard
echo drive subdirectory G:\LAPTUT then GO to start!
echo To do this, issue the following commands when you see
echo the DOS prompt:
echo G: Then press return/enter key
echo CD\LAPTUT Then press return/enter key
echo GO Then press return/enter key
echo Jot down these instructions for future use!
echo ----------------------------------------------------------
lapkey ,Q81,q81/E
IF ERRORLEVEL 81 GOTO quit
GOTO QUIT
:QUIT
cls
ECHO Installation of program now complete. Be sure to register.
ECHO Bonus disks will be sent by mail to those registering!
PAUSE
GOTO REG
:ABORT
cls
ECHO Installation process aborted
PAUSE
GOTO REG
:REG
CLS
echo You may find it useful to print a paper registration/order form
echo on your printer now. That way if you decide to register for your
echo BONUS DISKS you will have the registration form handy! Leave the
echo printed registration/order form on your desk for easy use!
echo Be sure your printer is turned on BEFORE you continue...
echo ---------------------------------------------------------------
ECHO Press Y if your answer is YES, please print form on my printer.
ECHO Press N if your answer is NO, do not print registration form.
lapkey y67,Y67,N66,n66/E
IF ERRORLEVEL 67 GOTO PRINT
IF ERRORLEVEL 66 GOTO END
:PRINT
cls
echo Now printing registration form on printer.....
TYPE REGISTER.TXT>PRN
GOTO END
:END
CLS
echo End of installation routine....
echo Professor P.C. Laptop! is a shareware product from Jim Hood,
echo Seattle Scientific Photography, PO Box 1506, Mercer Island, WA 98040
echo (206) 236-0470 CIS: 72020,2176
echo We now return you to your regularly scheduled DOS prompt....